package org.crystal.tradecraft.model.binance.market;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.crystal.tradecraft.serialization.BinanceOrdersDeserializer;

import java.util.List;

public record Depth(
    int lastUpdateId,
    @JsonDeserialize(using = BinanceOrdersDeserializer.class) List<Order> bids,
    @JsonDeserialize(using = BinanceOrdersDeserializer.class) List<Order> asks
) {
    
}
